package com.cmc6.user.model.dto;

import com.cmc6.common.constant.BaseRegexConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
public class UserCenterUpdateBaseInfoDTO {

    @ApiModelProperty(value = "头像url")
    private String avatarUrl;

    @NotBlank
    @Pattern(regexp = BaseRegexConstant.NICK_NAME_REGEXP)
    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "个性签名")
    private String personalStatement;

}
